<template>
  <div class="big">
    <div class="banxin integ">
      <Title title="积分攻略" :src="Jifen" />
      <ul class="tanxin">
        <li>
          <img :src="integral1" alt="" />
          <h2>签到得积分</h2>
          <div>去签到</div>
        </li>
        <li>
          <img :src="integral2" alt="" />
          <h2>购课得积分</h2>
          <div>去购课</div>
        </li>
        <li>
          <img :src="integral3" alt="" />
          <h2>推荐的积分</h2>
          <div>去推荐</div>
        </li>
        <li>
          <img :src="integral4" alt="" />
          <h2>拼团得积分</h2>
          <div>去拼团</div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import Title from "@/components/home/Title.vue";
export default {
  data() {
    return {
      Jifen: require("@/assets/images/home/integral.png"),
      integral1: require("@/assets/images/home/integral-01.png"),
      integral2: require("@/assets/images/home/integral-02.png"),
      integral3: require("@/assets/images/home/integral-03.png"),
      integral4: require("@/assets/images/home/integral-04.png"),
    };
  },
  components: {
    Title,
  },
};
</script>
 
<style lang = "less" scoped>
@import "@/assets/base.less";
.big {
  background-color: #fff;

  .integ {
    margin-top: 56px;

    padding-bottom: 47px;
    ul {
      li {
        width: 285px;
        height: 168px;
        position: relative;
        overflow: hidden;
        color: #fff;
        cursor: pointer;
        img {
          position: absolute;
          top: 0;
          left: 0;
          transition: all 0.5s;
        }
        img:hover {
          scale: 1.2;
        }
        h2,
        div {
          position: absolute;
        }
        h2 {
          font-size: 30px;

          top: 43px;
          left: 20px;
        }
        div {
          width: 96px;
          height: 27px;
          font-size: 16px;
          top: 90px;
          left: 20px;
          border: 1px solid #ffffff;
          text-align: center;
          line-height: 27px;
        }
      }
    }
  }
}
</style>